package daoImpl;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import dao.BaseDao;
import dao.DepartmentDao;
import entity.Department;

public class DepartmentDaoImpl extends BaseDao<Department> implements DepartmentDao{

	public Department getDepartmentBydeptId(Connection connection, String sql, Class<Department> clazz,Object... args) throws SQLException {
		return get(connection, sql, clazz, args);
	}

	public List<Department> getDepartmentList(Connection connection, String sql, Class<Department> clazz,Object... args) throws SQLException {
		return getList(connection, sql, clazz, args);
	}

}
